import request from "../../../utils/request";
import { PoorApplyResponseData,PoorApplyFormData,EditFromData } from "./type";
enum API {
    // 分页接口 POST
    GETPOORAPPLYINFO_URL = '/poorApplyInfo/selectAllApplyInfoPage',
    // 修改申请审核状态 POST
    EDITPOORAPPLYINFO_URL = '/poorApplyInfo/orderAdit'
}
export const reqGetPoorApplyInfo = (data: PoorApplyFormData) => request.post<any, PoorApplyResponseData>(API.GETPOORAPPLYINFO_URL, data)
export const reqEditPoorApplyInfo = (data: EditFromData) => request.post<any, any>(API.EDITPOORAPPLYINFO_URL, data)
